Skip to content

Add preadv2 and pwritev2 to seccomp allowlist - #511

Merged
geofffranks merged 1 commit into
cloudfoundry:mainfrom
swisscom:add-syscall
Aug 18, 2026
Merged

Add preadv2 and pwritev2 to seccomp allowlist#511
geofffranks merged 1 commit into
cloudfoundry:mainfrom
swisscom:add-syscall

Conversation

@JamesClonk

@JamesClonk JamesClonk commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

Summary

We've noticed that the latest Alpine-based nginx (1.31.3-alpine) fails to start in
Guardian containers on one of our Cloud Foundry installations because musl libc now uses pwritev2 to write the PID file. However this syscall is blocked by the current seccomp profile.

preadv2 and pwritev2 have been introduced in Linux 4.6 and are
modern equivalents of preadv/pwritev.

Fixes:

Backward Compatibility

Breaking Change? No

Signed-off-by: Fabio Berchtold <fabio.berchtold@swisscom.com>
@krismarc

krismarc commented Aug 4, 2026

Copy link
Copy Markdown

@github-project-automation github-project-automation Bot moved this from Inbox to Pending Merge | Prioritized in Application Runtime Platform Working Group Aug 18, 2026
@geofffranks
geofffranks merged commit 2e5f2f4 into cloudfoundry:main Aug 18, 2026
1 check passed
@github-project-automation github-project-automation Bot moved this from Pending Merge | Prioritized to Done in Application Runtime Platform Working Group Aug 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

3 participants